package com.css.zfzx.fwsjcj.modules.statistics.fw.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


@Data
@Entity
@Table(name = "fw_area_building")
public class FwAreaBuildingEntity implements Serializable {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "district_name")
    private String districtName;
    @Column(name = "belongto_city")
    private String belongtoCity;
    @Column(name = "division_code")
    private String divisionCode;
    @Column(name = "division_level")
    private String divisionLevel;
    @Column(name = "all_building_area")
    private Double allBuildingArea;
    @Column(name = "amendatory_all_building_area")
    private Double amendatoryAllBuildingArea;
    @Column(name = "area_is_open")
    private String areaIsOpen;
    @Column(name = "all_building_count")
    private Integer allBuildingCount;
    @Column(name = "amendatory_all_building_count")
    private Integer amendatoryAllBuildingCount;
    @Column(name = "count_is_open")
    private String countIsOpen;
    @Column(name = "del_flag")
    private String delFlag;
    @Column(name = "creator_id")
    private String creatorId;
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @Column(name = "updator_id")
    private String updatorId;
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
